<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>登录 - 家族传承</title>
  <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
  <script defer src="https://use.fontawesome.com/releases/v5.15.4/js/all.js"></script>
</head>
<body class="bg-yellow-50 flex items-center justify-center min-h-screen">
  <div class="bg-white p-6 rounded-lg shadow-md w-80">
    <h2 class="text-2xl font-semibold text-center mb-4 text-red-500">登录</h2>
    <form class="space-y-4">
      <div>
        <label class="block text-gray-700">手机号或邮箱</label>
        <input type="text" class="w-full border p-2 rounded" placeholder="请输入手机号或邮箱">
      </div>
      <div>
        <label class="block text-gray-700">密码</label>
        <input type="password" class="w-full border p-2 rounded" placeholder="请输入密码">
      </div>
      <button type="submit" class="w-full bg-red-500 text-white py-2 rounded hover:bg-red-600 transition">登录</button>
    </form>
    <div class="my-4 flex items-center">
      <div class="flex-grow border-t"></div>
      <span class="mx-2 text-sm text-gray-500">或</span>
      <div class="flex-grow border-t"></div>
    </div>
    <div class="flex justify-center space-x-4">
      <button class="flex items-center bg-green-400 text-white px-4 py-2 rounded hover:bg-green-500 transition">
        <i class="fab fa-weixin mr-2"></i> 微信
      </button>
      <button class="flex items-center bg-blue-400 text-white px-4 py-2 rounded hover:bg-blue-500 transition">
        <i class="fab fa-qq mr-2"></i> QQ
      </button>
    </div>
    <p class="mt-4 text-center text-sm text-gray-600">没有账号？<a href="register.html" class="text-red-500 hover:underline">立即注册</a></p>
  </div>
</body>
</html>